The Impact of Hardware Models on Shared Memory Consistency Conditions
نویسندگان
چکیده
Shared memory systems provide a contract to the programmer in the form of a consistency condition. The conditions of atomic memory and sequential consistency provide the illusion of a single memory module, as in the uniprocessor case. Weaker conditions improve performance by sacriicing the simple programming model. Consistency conditions are formulated without reference to details of the hardware on which programs execute. We deene the notion of a hardware model, a set of limitations on the communication network (e.g., message delay assumptions) and processing nodes (e.g., amount of available memory). We examine the eeects of several models on a representative set of consistency conditions. In each model, we show how the conditions are related, and show that some are not appropriate for that model. Our study is carried out through relatively complete implementations, state machines which exactly capture the possible behaviors of all implementations in a given model. In addition to elucidating properties of the consistency conditions, these state machines can be used in proofs of correctness, when a particular hardware model is assumed.
منابع مشابه
SELECTED FOR PROC OF THE IEEE SPECIAL ISSUE ON DISTRIBUTED SHARED MEMORY NOT THE FINAL VERSION Recent Advances in Memory Consistency Models for Hardware Shared Memory Systems
The memory consistency model of a shared memory sys tem determines the order in which memory operations will appear to execute to the programmer The memory consis tency model for a system typically involves a tradeo be tween performance and programmability This paper pro vides an overview of recent advances in hardware optimiza tions compiler optimizations and programming environ ments relevant...
متن کاملRecent Advances in Memory Consistency Models for Hardware Shared Memory Systems
The memory consistency model of a shared memory system determines the order in which memory operations will appear to execute to the programmer. The memory consistency model for a system typically involves a tradeoff between performance and programmability. This paper provides an overview of recent advances in hardware optimizations, compiler optimizations, and programming environments relevant...
متن کاملAutomatic Implementation of Programming Language Consistency Models
Concurrent threads of execution running on a shared memory system can access the same memory locations. A consistency model defines constraints on the order of these shared memory accesses. For good run-time performance, these constraints must be as few as possible. Programmers who write explicitly parallel programs must take into account the consistency model when reasoning about the behavior ...
متن کاملRecent Advances in Memory Consistency Models forHardware Shared - Memory
| The memory consistency model of a shared-memory system determines the order in which memory operations will appear to execute to the programmer. The memory consistency model for a system typically involves a tradeoo between performance and programmability. This paper provides an overview of recent advances in hardware optimizations , compiler optimizations, and programming environments releva...
متن کاملShared Memory Consistency Models: A Tutorial
Parallel systems that support the shared memory abstraction are becoming widely accepted in many areas of computing. Writing correct and efficient programs for such systems requires a formal specification of memory semantics, called a memory consistency model. The most intuitive model---sequential consistency---greatly restricts the use of many performance optimizations commonly used by uniproc...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996